package user_router

import (
	user_controller "jwt-demo/controller/user"
	common_middleware "jwt-demo/middleware/common"

	"github.com/gin-gonic/gin"
)

func UserRouterInit(r *gin.Engine) {
	apiUserRouter := r.Group("/api/user", common_middleware.AuthMiddleware)
	{
		apiUserRouter.POST("/list", user_controller.GetUserList)
	}
}
